package com.wu.mappers;

import com.wu.pojo.Products;
import com.wu.pojo.vo.ProductVo;

import java.util.List;

/**
@author sun
@date 2022/3/27 - 23:05
*/
public interface ProductsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Products record);

    int insertSelective(Products record);

    Products selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Products record);

    int updateByPrimaryKey(Products record);

    List<ProductVo> findProductsVo(Products products);
}
